//
//  YWQRCodeController.m
//  YWPhotoEditMaster
//
//  Created by jun peng on 2023/9/6.
//

#import "YWQRCodeController.h"
#import "YWGenerateQRCodeController.h"
#import "YWDetectorQRCodeController.h"
#import "YWScanQRCodeController.h"

@interface YWQRCodeController ()
- (IBAction)genBtnCLick:(UIButton *)sender;
- (IBAction)decBtnClick:(UIButton *)sender;
- (IBAction)scanBtnClick:(UIButton *)sender;
- (IBAction)dismissBtnClick:(UIButton *)sender;

@end

@implementation YWQRCodeController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    
    
}



- (IBAction)dismissBtnClick:(UIButton *)sender {
    [self dismissViewControllerAnimated:YES completion:nil];
}

- (IBAction)scanBtnClick:(UIButton *)sender {
    YWScanQRCodeController *vc = [[YWScanQRCodeController alloc] initWithNibName:@"YWScanQRCodeController" bundle:nil];
    [self.navigationController pushViewController:vc animated:YES];
}

- (IBAction)decBtnClick:(UIButton *)sender {
    
    YWDetectorQRCodeController *vc = [[YWDetectorQRCodeController alloc] initWithNibName:@"YWDetectorQRCodeController" bundle:nil];
    [self.navigationController pushViewController:vc animated:YES];
}

- (IBAction)genBtnCLick:(UIButton *)sender {
    
    YWGenerateQRCodeController *vc = [[YWGenerateQRCodeController alloc] initWithNibName:@"YWGenerateQRCodeController" bundle:nil];
    [self.navigationController pushViewController:vc animated:YES];
}
@end
